{{define "content"}}
<div class="container-fluid" style="height: 100%;">
  <div class="row" style="height: 10%;">

  </div>
  <div class="row" style="height: 20%;">
    <div class="col text-center">
      <img id="logo" src="/assets/images/icon-512.png" height="128px" width="128px">
      <h1>家庭物资管理系统</h1>
    </div>
  </div>
  <div class="row" style="height: 10%;">

  </div>
  <div class="row">
    <div class="col-md-4 col-1"></div>
    <div class="col">

      <form action="/login" method="post">
        <div class="mb-3">
          <label for="userinput" class="form-label">用户</label>
          <input name="name" type="text" class="form-control" id="userinput" aria-describedby="emailHelp">
        </div>
        <div class="mb-3">
          <label for="passwordinput" class="form-label">密码</label>
          <input name="pwd" type="password" class="form-control" id="passwordinput">
        </div>
        <button type="submit" class="btn btn-primary">登入</button>
      </form>
    </div>
    <div class="col-md-4 col-1">
    </div>
  </div>

</div>
{{end}}